<?php
class Generic {
	private $vars;
	public function __get($key) {
		return $this->vars [$key];
	}
	public function __set($key, $value) {
		$this->vars [$key] = $value;
	}
}
?>